package com.example.administrator.base.application;

import android.app.Application;
import com.example.administrator.base.service.DemoIntentService;
import com.example.administrator.base.service.DemoPushService;
import com.igexin.sdk.PushManager;
import com.umeng.analytics.MobclickAgent;


public class App extends Application {
    public static String getUrl() {
        return "http://operate.99bicycle.com/OperateBicyclePro/administrator?";
    }
    @Override
    public void onCreate() {
        super.onCreate();
        MobclickAgent.setDebugMode( true );
        MobclickAgent.UMAnalyticsConfig config = new MobclickAgent.UMAnalyticsConfig(getApplicationContext(),
                "59c8b92345297d68c300049e", null, MobclickAgent.EScenarioType.E_UM_NORMAL, true);
        MobclickAgent.startWithConfigure(config);
        PushManager.getInstance().initialize(this.getApplicationContext(), DemoPushService.class);
        PushManager.getInstance().registerPushIntentService(this.getApplicationContext(), DemoIntentService.class);


    }



}
